package com.dragon.flow.vo.processInstance;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;

/**
 * @title:
 * @author: bruce.liu
 * @since: 2024/8/14 14:58
 */
@Data
public class PlusStartProcessInstanceVo implements Serializable {
    /**
     * 模型定义key 必填
     */
    @ApiModelProperty(value = "modelKey", required = true)
    private String modelKey;
    /**
     * 业务系统id 必填
     */
    @ApiModelProperty(value = "业务表单唯一标识", required = true)
    private String businessKey;
    /**
     * 启动流程变量 选填
     */
    @ApiModelProperty(value = "启动流程变量")
    private Map<String, Object> variables;
    /**
     * 申请人工号 必填
     */
    @ApiModelProperty(value = "申请人工号")
    private String userCode;
    /**
     * 系统标识 必填
     */
    @ApiModelProperty(value = "系统标识", required = true)
    private String appSn;
    /**
     * 公司id 必填
     */
    @ApiModelProperty(value = "公司Id", required = true)
    private String companyId;
    /**
     * 表单显示名称 必填
     */
    @ApiModelProperty(value = "表单显示名称", required = true)
    private String formName;
    /**
     * 流程提交人工号 必填
     */
    @ApiModelProperty(value = "流程提交人工号 通常和申请人工号一致即可", required = true)
    private String creator;
    /**
     *  要走流程部门ID
     */
    @ApiModelProperty(value = "要走流程部门ID")
    private String deptId;
    @ApiModelProperty(value = "表单数据")
    private String formData;
    //流程名称表达式
    private String processNameExp;
    //审批意见
    private String message;
    //流程消息 用于消息启动流程
    private String messageName;
    //信号名称 用于信号启动流程
    private String signalName;
}
